package com.example.demo.mapper;

import com.example.demo.entity.commodity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper

public interface commoditymapper {
    List<commodity> display();
    int insert(commodity c);
    int update(commodity c);
    int delete(commodity c);
    List<commodity> search(commodity c);
    int verify(commodity c);
}
